import instance from "../request"

export const vehicle = {
    getVehicleDataByDuration: (data) => {
        return instance({
            url: '/vehicle/getVehicleDataByDuration',
            method: "post",
            data
        })
    },

    //获取白名单列表
    getLprWhiteList: (data) => {
        return instance({
            url: '/vehicle/getLprWhiteList',
            method: "post",
            data
        })
    },

    //新增白名单
    addLprWhiteList: (data) => {
        return instance({
            url: '/vehicle/addLprWhiteList',
            method: "post",
            data
        })
    },

    //删除白名单
    removeLprWhiteList: (data) => {
        return instance({
            url: 'vehicle/removeLprWhiteList',
            method: "post",
            data
        })
    },

    //修改指定车牌信息结果
    updateLprInfosById: (data) => {
        return instance({
            url: 'vehicle/updateLprInfosById',
            method: "post",
            data
        })
    }
} 
